.delivery-tracking {
    width: 100%;
    margin: 0 auto;
    background-color: white;
    border-radius: 2px;
    padding: 12px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.status-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 20px 16px;
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.status-item.completed .icon-wrapper i {
    color: white;
}

.status-text {
    font-size: 14px;
    color: #666;
}

.status-item.completed .status-text {
    color: #2d8cf0;
    font-weight: 500;
}

.connector-line {
    flex: 1;
    height: 2px;
    background-color: #e5e5e5;
    position: relative;
    margin: 0 4px;
}

.delivery-info {
    /* height: 75px; */
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.delivery-info>div,
.delivery-info>span {
    flex: 1
}

.delivery-info>div:nth-child(2) {
    margin: 0 6px;
}

.delivery-info>span {
    /* display: inline-flex;
    align-items: end;
    justify-content: end;
    height: 100%; */
    text-align: right;
}

.delivery-type {
    font-weight: 600;
    color: #333;
}

.delivery-type-1 {
    /* 强制不换行 */
    width: 100px;
    white-space: nowrap;
    transform: scale(0.9);
    transform-origin: left top;
}

.expected-text {
    font-weight: bold;
    font-size: 12px;
    color: #999;
}

.calendar-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

.calendar-item {
    width: 70px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    text-align: center;
}

.month {
    background-color: #2d8cf0;
    color: white;
    font-size: 12px;
    padding: 4px 0;
}

.day {
    font-size: 14px;
    font-weight: 600;
    padding: 2px 0;
}

.weekday {
    font-size: 12px;
    color: #999;
    padding-bottom: 4px;
}

.separator {
    font-size: 18px;
    color: #999;
}

/* 移动端适配 */
@media (max-width: 767px) {
    .calendar-item {
        width: 50px; /* 减小日历项宽度 */
    }
    
    .month {
        font-size: 10px; /* 减小月份字体 */
        padding: 2px 0;
    }
    
    .day {
        font-size: 12px; /* 减小日期字体 */
        padding: 1px 0;
    }
    
    .weekday {
        font-size: 10px; /* 减小星期字体 */
        padding-bottom: 2px;
    }
    
    .separator {
        font-size: 14px; /* 减小分隔符大小 */
    }
    
    /* 调整整个容器的布局 */
    .delivery-info {
        padding: 0 6px;
        gap: 4px;
    }
    
    .delivery-type-1 {
        width: 80px;
        transform: scale(0.8);
    }
    
    .free-shipping {
        font-size: 14px;
    }
}

.free-shipping {
    /* color: #ccc; */
    padding-right: 5px;
    font-weight: 600;
    font-size: 16px;
}

/* Font Awesome 图标 */
.fa-box:before {
    content: "\f466";
}

.fa-truck:before {
    content: "\f0d1";
}

.fa-check-circle:before {
    content: "\f058";
}